home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8009 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  989 b 

  1. Path: newsstand.cit.cornell.edu!usenet
  2. From: NOBODY <rezab@nova.npac.syr.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: Need HELP by a C hacker....
  5. Date: 1 Mar 1996 02:14:23 GMT
  6. Organization: Cornell University
  7. Sender: rb50@cornell.edu (Verified)
  8. Message-ID: <4h5mhv$mh9@newsstand.cit.cornell.edu>
  9. NNTP-Posting-Host: 132
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.12(Macintosh; I; 68K)
  14. X-URL: news://newsstand.cit.cornell.edu/comp.lang.c
  15.  
  16. Hello Everyone.  
  17.  
  18. I have a question:
  19.  
  20. I want to declare a function
  21.  
  22.  
  23. _____ foo(void){
  24.        return foo;
  25.   }
  26.  
  27. Ususally _____ is the type of the thing that I am returning.  
  28. In this case it's a pointer to a function that returns a pointer
  29. to a function.  Does anyone have any ideas?  
  30. I have gone nuts trying to figure this one out.  
  31. BTW, I am using the gcc compiler (My microsoft compiler does not allow
  32. anything like this to be declared).   
  33.  
  34. Thanks
  35. Please email me:  rezab@npac.syr.edu
  36.  
  37.  
  38.